package com.ruoyi.cat.domain.DTO;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class WinningDTO {

    @ApiModelProperty("中奖Id")
    private Long id;

    @ApiModelProperty("兑换码")
    private String redemptionCode;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("审核时间")
    private Date auditTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("中奖时间")
    private Date winningTime;

    @ApiModelProperty("用户名称")
    private String nickName;

    @ApiModelProperty("用户头像")
    private String profileImg;

}
